package com.yangt.service.impl;

import com.yangt.service.FourthService;
import com.yangt.service.ThirdService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author hongbin.yang
 * @date 2016-06-03 10:59
 */
public class ThirdServiceImpl implements ThirdService {

    private FourthService fourthService;

    @Override
    public String getShopInfo(String name) {
        return "ytshopId:3313;tbshopId:" + fourthService.getTBinfo(name);
    }

    public void setFourthService(FourthService fourthService) {
        this.fourthService = fourthService;
    }
}
